package cn.gok.common.entity.adress;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author: shikundai
 * @Date: 2020/10/20
 * @Time: 15:05
 * @description: 描述省份的类
 */
@Data
@TableName("provinces")
public class Province {
    /**
     * @author: shikundai
     * @date: 2020/10/20
     * @time: 15:17
     * @Description: 该数据ID
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    /**
     * @author: shikundai
     * @date: 2020/10/20
     * @time: 15:17
     * @Description: 省份ID
     */
    @TableField("provinceid")
    private String provinceId;
    /**
     * @author: shikundai
     * @date: 2020/10/20
     * @time: 15:17
     * @Description: 省份名字
     */
    @TableField("province")
    private String province;
}
